package com.bdqn.boot.yuanshen.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author 周宏锦
 * @Description 聊天消息表的实体类
 * @Date 2025/3/19 8:43
 * @Version 1.0
 */
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Messages {
    private Integer id;
    private Integer sender_id;
    private Integer receiver_id;
    public enum MessageType{
        text, emoji, audio, video
    }
    private MessageType message_type;
    private String content;
    private String created_at;
    private Boolean is_read;
}
